package com.xyazm.inventory.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xyazm.common.domain.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 库存中心的商品库存表
 * </p>
 *
 * @author xuyou
 * @since 2022-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ProductStock对象", description = "库存中心的商品库存表")
@TableName("product_stock")
public class ProductStockDO extends BaseDO implements Serializable {

    @ApiModelProperty(value = "商品sku编号")
    @TableField("sku_code")
    private String skuCode;

    @ApiModelProperty(value = "销售库存")
    @TableField("sale_stock_quantity")
    private Long saleStockQuantity;

    @ApiModelProperty(value = "已销售库存")
    @TableField("saled_stock_quantity")
    private Long saledStockQuantity;


}
